package com.gem.sms.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
	private Integer id;
	private String name;
	private String stuNo;
	private String password;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate birthday;
	private Integer sex;// 1男 0女
	private Integer polity;// 1党员  2团员 3无党派 4其他
	private String brief;
}
